package cn.lecosa.spark.es.entity;

import java.io.Serializable;

public class MacObj implements Serializable{
	private String f_mac_id;
	private Double f_mac_degree;
	
	
	
	public MacObj() {
		super();
	}


	public String getF_mac_id() {
		return f_mac_id;
	}
	
	
	public MacObj(String f_mac_id, Double f_mac_degree) {
		super();
		this.f_mac_id = f_mac_id;
		this.f_mac_degree = f_mac_degree;
	}


	public void setF_mac_id(String f_mac_id) {
		this.f_mac_id = f_mac_id;
	}
	public Double getF_mac_degree() {
		return f_mac_degree;
	}
	public void setF_mac_degree(Double f_mac_degree) {
		this.f_mac_degree = f_mac_degree;
	}
	
	@Override
	public boolean equals(Object arg0) {
		if(arg0 instanceof MacObj){
			MacObj  o = (MacObj)arg0;
			if (o.getF_mac_id().equals(this.getF_mac_id()))
				return true;
		}
		return false;
	}
}
